Nintendo Visual Palette
This is a table of all 64 Nintendo colours available. The number in each cell is the colour number as used within Nintendo games. To change a colour within a game, first find the address for that colour (the hard part) and then replace it with one of the values below. Of course, these values could also be used when writting new games (please, someone write some!) :-)
You can also download a GIF version of this table if you want (the RGB values in the GIF are correct, but I have yet to see a browser on any platform get them right):
Download nintendo_palette.gif
|
00
|
01
|
02
|
03
|
04
|
05
|
06
|
07
|
08
|
09
|
0A
|
0B
|
0C
|
0D
|
0E
|
0F
|
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
1A
|
1B
|
1C
|
1D
|
1E
|
1F
|
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
2A
|
2B
|
2C
|
2D
|
2E
|
2F
|
|
30
|
31
|
32
|
33
|
34
|
35
|
36
|
37
|
38
|
39
|
3A
|
3B
|
3C
|
3D
|
3E
|
3F
|
Note: These values come from
Loopy's great
NES Palette RGB values.
There will be some differences between these values and a real NES because Loopy guessed the values while looking at the TV, but they seem very close. The only change I would make is to use a RGB value of "238,238,238" for colour number 20, since this would give a smoother transition in the grey-scale of the palette.
Example: Changing Mario's clothes colour
Suppose I wanted to edit "Super Mario Brothers 1" to give Mario a blue hat and clothes:
- First, I find the address of the colour information for Mario. This happins to be at address $05E8, which is colour 1 (or 2 depending on how you count them).
- In an unaltered game the value at this address will be $16, which is a dark red. I want to change this value to $12, which is a nice shade of blue. So, trusty hex editior in hand I enter $12 as the value for address $05E8.
- Save the game under a new name and load it up into your favorite Nintendo editior.
That's it, easy once you figure out where all the colour addresses are. The way I find these values is to play the game and figure out what coloures are used for the object I want to edit, then I just do a search in my hex editior for various combinations of those values.
Bonus: Some "Super Mario Brothers 1" addresses to play with
Here are some addresses for colour values in "Super Mario Brothers 1", this isn't all of them, but it should get you started. You can also change all the "bad guys" and background colours as well :-)
| Address |
Value |
Effect |
| $05E8 |
16 |
Mario colour #2 (counting from 1)
|
| $05E9 |
27 |
Mario colour #3 (counting from 1)
|
| $05EA |
18 |
Mario colour #4 (counting from 1)
|
| $05EC |
30 |
Luigi colour #2 (counting from 1)
|
| $05ED |
27 |
Luigi colour #3 (counting from 1)
|
| $05EE |
19 |
Luigi colour #4 (counting from 1)
|
| $05F0 |
37 |
Fire Mario colour #2 (counting from 1)
|
| $05F1 |
27 |
Fire Mario colour #3 (counting from 1)
|
| $05F2 |
16 |
Fire Mario colour #4 (counting from 1)
|
You are visitor number

!
Last Updated: May 21st, 1998
"Nintendo", "NES" and "Super Mario Brothers" are all trademarks of Nintendo of America.